package com.vhall.component.entity.vote.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * @author longzhen.gong
 * @date 2021/7/7 16:46
 */
@Data
public class VoteDetailReqVO implements Serializable {

    private static final long serialVersionUID = 1185409237220443224L;
    @PositiveOrZero(message = "vote_id参数异常")
    @NotNull(message = "vote_id参数异常")
    @ParamName("vote_id")
    private Long voteId;


    @NotBlank(message = "room_id参数异常")
    @ParamName("room_id")
    private String roomId;


    private String form;


    @ParamName("account_id")
    private Integer accountId;

}
